package com.example.sysao.pejo;

import java.time.LocalDateTime;
import java.util.List;

public class Repair {
    private int id;
    private int status;
    private String detail;
    private String place;
    private String picMD5;
    private String remark;
    private double cost;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    private Student student;

    public LocalDateTime getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(LocalDateTime submitTime) {
        this.submitTime = submitTime;
    }

    
    private LocalDateTime submitTime;
    private int studentId;
    private Urgent urgent;
    private List<Urgent> Urgenlist;

    public List<Urgent> getUrgenlist() {
        return Urgenlist;
    }

    public void setUrgenlist(List<Urgent> urgenlist) {
        Urgenlist = urgenlist;
    }

    @Override
    public String toString() {
        return "Repair{" +
                "id=" + id +
                ", status=" + status +
                ", detail='" + detail + '\'' +
                ", place='" + place + '\'' +
                ", picMD5='" + picMD5 + '\'' +
                ", submitTime=" + submitTime +
                ", studentId=" + studentId +
                ", urgent=" + urgent +
                '}';
    }

    public Urgent getUrgent() {
        return urgent;
    }

    public void setUrgent(Urgent urgent) {
        this.urgent = urgent;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getPicMD5() {
        return picMD5;
    }

    public void setPicMD5(String picMD5) {
        this.picMD5 = picMD5;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }


}
